package com.l.spring_security.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class SpringSecurityTestController {

    @RequestMapping({"/","/index"})
    public String index(){

        return "index";
    }

    @RequestMapping("/vip1")
    public String vip1() {
        System.out.println("vip1");
        return "v1/v1html";
    }

    @RequestMapping("/vip2")
    public String vip2() {
        System.out.println("vip2");
        return "v2/v2html";
    }

    @RequestMapping("/vip3")
    public String vip3() {
        System.out.println("vip3");
        return "v3/v3html";
    }


}
